114. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2024-03-04 14:38:49 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

114.1 Files compared

#LocationFileLast Modified
1/Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.7/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/categorybanner.phtml2023-03-06 04:43:43 +0000
2/Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.8/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/categorybanner.phtml2023-03-06 04:43:43 +0000

114.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged148
Changed00
Inserted00
Removed00

114.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

114.4 Active regular expressions

No regular expressions were active.

114.5 Comparison detail

1 <?php 1 <?php
2     $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description'); 2     $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description');
3 ?> 3 ?>
4 <?php if ($_category_desc == "full_width" && $_description = $block->getCurrentCategory()->getDescription()): ?> 4 <?php if ($_category_desc == "full_width" && $_description = $block->getCurrentCategory()->getDescription()): ?>
5     <div class="category-description no-margin"> 5     <div class="category-description no-margin">
6         <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?> 6         <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?>
7     </div> 7     </div>
8     <script type="text/javascript"> 8     <script type="text/javascript">
9     require([ 9     require([
10         'jquery' 10         'jquery'
11     ], function ($) { 11     ], function ($) {
12         var resizeDesc = function(){ 12         var resizeDesc = function(){
13           var $d_h = $('.page-wrapper .category-description').height(); 13           var $d_h = $('.page-wrapper .category-description').height();
14           $('body:not(.cms-index-index) .page-wrapper > .breadcrumbs + .page-main > .page-main-inner > .sidebar-nav').css({ 14           $('body:not(.cms-index-index) .page-wrapper > .breadcrumbs + .page-main > .page-main-inner > .sidebar-nav').css({
15             'margin-top': -$d_h 15             'margin-top': -$d_h
16           }); 16           });
17         } 17         }
18         resizeDesc(); 18         resizeDesc();
19         $(window).resize(function(){ 19         $(window).resize(function(){
20           resizeDesc(); 20           resizeDesc();
21         }); 21         });
22     }); 22     });
23     </script> 23     </script>
24 <?php endif; ?> 24 <?php endif; ?>